package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.Pay;

public interface PayDAO {

	// property constants
	public static final String PPRICE = "price";
	public static final String PUSER_NAME = "username";
	public static final String PADD = "add";
	public static final String PZIP = "zip";
	public static final String PPHONE = "phone";
	public static final String PMOBILE_PHONE = "monbilePhone";
	public static final String PPAY_BANK = "payBank";
	public static final String PPAY_NBR = "payNbr";
	public static final String PSEND_COMPANY = "sendCompany";
	public static final String PSND_NBR = "sendNbr";
	public static final String PSTATE = "state";
	
	public abstract void save(Pay transientInstance);

	public abstract void delete(Pay persistentInstance);

	public abstract Pay findById(java.lang.Integer id);

	public abstract List findByExample(Pay instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByPprice(Object pprice);

	public abstract List findByPuserName(Object puserName);

	public abstract List findByPstate(Object state);
	
	public abstract List findByPadd(Object padd);

	public abstract List findByPzip(Object pzip);

	public abstract List findByPphone(Object pphone);

	public abstract List findByPmobilePhone(Object pmobilePhone);

	public abstract List findByPpayBank(Object ppayBank);

	public abstract List findByPpayNbr(Object ppayNbr);

	public abstract List findByPsendCompany(Object psendCompany);

	public abstract List findByPsndNbr(Object psndNbr);

	public abstract List findAll();

	public abstract Pay merge(Pay detachedInstance);

	public abstract void attachDirty(Pay instance);

	public abstract void attachClean(Pay instance);

}